//
//  UIViewController+ForceOrientation.h
//  _HealthDetector
//
//  Created by lanzhongping on 2020/4/26.
//  Copyright © 2020 . All rights reserved.
//


#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
extern NSString * const OTAS_DIR;

@interface UIViewController (Custom)
//- (void)forceOrientationToLand:(UIInterfaceOrientation)orientation;

- (void)showAlertWarningWithTitle:(NSString *)title Msg:(NSString *)msg btnCancel:(NSString *)btnTitle Compelete:(void (^ __nullable)(void))completion;
- (void)showAlertWarningWithTitle:(NSString *)title
                              Msg:(NSString *)msg
                            btnOk:(nullable NSString  *)btnTitle
                            OkBLk:(void (^ __nullable)(void))okBlk
                        CancelBtn:(nullable NSString *)cancelTitle
                        CancelBlk:(void (^ __nullable)(void))cancelBlk
                        Compelete:(void (^ __nullable)(void))completion;
- (void)showAlertWarningWithTitle:(NSString *)title
                              Msg:(NSString *)msg
                            btnOk:(nullable NSString  *)btnTitle
                            OkBLk:(void (^ __nullable)(void))okBlk
                        CancelBtn:(nullable NSString *)cancelTitle
                        CancelBlk:(void (^ __nullable)(void))cancelBlk
                        Compelete:(void (^ __nullable)(void))completion
                            Alert:(void (^ __nullable)(UIAlertController *alert))cbkAlert;
-(void)mainStyle;
- (void)copyFileFromResourceTOSandbox:(NSArray<NSURL *> *)fileUrls;
+(NSMutableAttributedString *)bigSmallAttrString:(NSString *)str_a
                                            FontA:(UIFont * _Nullable)fontA
                                        TxtColorA:(UIColor * _Nullable)colorA
                                             StrB:(NSString *)str_b
                                            FontB:(UIFont * _Nullable)fontB
                                       TxtColorB:(UIColor * _Nullable)colorB;

+(NSMutableAttributedString *)bigSmallAttrString:(NSString * _Nullable)str_a
                                            FontA:(UIFont * _Nullable)fontA
                                        TxtColorA:(UIColor * _Nullable)colorA
                                             StrB:(NSString * _Nullable)str_b
                                            FontB:(UIFont * _Nullable)fontB
                                       TxtColorB:(UIColor * _Nullable)colorB ParagraphStyle:(NSMutableParagraphStyle * _Nullable)paragraphStyle;

@end

NS_ASSUME_NONNULL_END
